package edu.hwadee.entity;

import java.util.Date;

/**
 * Suppliersell entity. @author MyEclipse Persistence Tools
 */

public class Suppliersell implements java.io.Serializable {

	// Fields

	private Integer suppliersellId;
	private Company company;
	private Staff staff;
	private Date materielBuyDate;
	private Float cost;
	private Float paidFee;
	private String paymentWay;
	private Short paymentState;

	// Constructors

	/** default constructor */
	public Suppliersell() {
	}

	/** full constructor */
	public Suppliersell(Company company, Staff staff, Date materielBuyDate, Float cost, Float paidFee,
			String paymentWay, Short paymentState) {
		this.company = company;
		this.staff = staff;
		this.materielBuyDate = materielBuyDate;
		this.cost = cost;
		this.paidFee = paidFee;
		this.paymentWay = paymentWay;
		this.paymentState = paymentState;
	}

	// Property accessors

	public Integer getSuppliersellId() {
		return this.suppliersellId;
	}

	public void setSuppliersellId(Integer suppliersellId) {
		this.suppliersellId = suppliersellId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Date getMaterielBuyDate() {
		return this.materielBuyDate;
	}

	public void setMaterielBuyDate(Date materielBuyDate) {
		this.materielBuyDate = materielBuyDate;
	}

	public Float getCost() {
		return this.cost;
	}

	public void setCost(Float cost) {
		this.cost = cost;
	}

	public Float getPaidFee() {
		return this.paidFee;
	}

	public void setPaidFee(Float paidFee) {
		this.paidFee = paidFee;
	}

	public String getPaymentWay() {
		return this.paymentWay;
	}

	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}

	public Short getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(Short paymentState) {
		this.paymentState = paymentState;
	}

}